<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>学生信息列表</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<link rel="shortcut icon" href="images/logo.jpg">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>

</head>

<body>
	<div class="panel admin-panel">
		<div class="panel-head" id="add">
			<strong><span class="icon-pencil-square-o"></span>编辑学生信息</strong>
		</div>

		<form method="post" class="form-x" action="StudentAction_edit?id=${student.id }">
			<div class="body-content">
				<div class="form-group">
					<div class="label">
						<label>用户编号：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="${student.userId}"  required="true"
							name="userId" data-validate="required:数据必填项" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>姓  名：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="${student.userName}"  required="true"
							name="userName" data-validate="required:数据必填项" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>学  号：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="${student.stuId}"  required="true"
							name="stuId" data-validate="required:数据必填项" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>班级名称：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" value="${student.classesName}"  required="true"
							name="classesName" data-validate="required:数据必填项" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>性  别：</label>
					</div>
					<div class="field" >
						<label><input name="sex" type="radio" value="1" required="true">男 &emsp;&emsp;&emsp;</label> 
						<label><input name="sex" type="radio" value="0">女 </label>
					</div>
				</div>
				<div class="form-group"> 
					<div class="label">
						<label></label>
					</div>
					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit">
							提交</button>
						<button type="reset" class="button border-red">重置</button>	
						<input type="button" class="button bg-main icon-check-square-o" name="Submit" onclick="javascript:history.back(-1);" value="返回">		
					</div>
				</div>
			</div>
		</form>
	</div>

</body>
</html>
